package com.google.code.swingonfire.showcase.helpers.gradients;

import java.awt.BorderLayout;

import javax.swing.JPanel;

import com.google.code.swingonfire.border.ShadowBorder;
import com.google.code.swingonfire.component.JBorderPanel;
import com.google.code.swingonfire.showcase.TitlePanel;

public class GradientsShowcase extends JPanel
{

    private static final long serialVersionUID = -8885636189840015108L;
    
    private final GradientPanel gradientPanel = new GradientPanel();

    public GradientsShowcase()
    {
        super(new BorderLayout());

        add(new JBorderPanel(new TitlePanel("Gradients",
            "A demonstration of built-in gradients and the gradient utilities"), ShadowBorder.create()),
            BorderLayout.NORTH);
        add(new JBorderPanel(gradientPanel, ShadowBorder.create()), BorderLayout.CENTER);
    }

}
